﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="User_Add.aspx.cs" Inherits="System_User_Add" MasterPageFile="../MasterPage.master" %>

<%@ Import Namespace="Common" %>
<%@ Register Src="System_Left.ascx" TagName="System_Left" TagPrefix="uc1" %>
<asp:Content runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
    <table cellpadding="0" cellspacing="2" width="100%" border="0">
        <tr>
            <td class="leftTd" valign="top" width="20%">
                <uc1:System_Left ID="System_Left1" runat="server" />
            </td>
            <td width="85%" valign="top">
                <table cellpadding="0" cellspacing="0" width="100%" border="0" align="center">
                    <tr>
                        <td class="leftTd" valign="top">
                            <table cellpadding="0" cellspacing="0" width="100%" border="0" align="center">
                                <tr>
                                    <td class="titleStyle">
                                        <%= WebUtility.GetTitleByMenu(MenuType) %>
                                    </td>
                                </tr>
                            </table>
                            <br />
                            <table cellpadding="0" cellspacing="1" width="100%" border="0" style="background: #000066;">
                                <tr>
                                    <td class="leftContent">
                                        用户类型：
                                    </td>
                                    <td class="RightContent">
                                        <asp:RadioButtonList ID="txt_UserType" runat="server" RepeatDirection="Horizontal">
                                        </asp:RadioButtonList>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="leftContent">
                                        会员名：
                                    </td>
                                    <td class="RightContent">
                                        <asp:TextBox ID="txt_Account" runat="server" Width="150px" class="face"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txt_Account" Display="Dynamic" ErrorMessage="会员名不能为空"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="leftContent">
                                        密码：
                                    </td>
                                    <td class="RightContent">
                                        <asp:TextBox ID="txt_Password" TextMode="Password" runat="server" Width="150px" class="face"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txt_Password" Display="Dynamic" ErrorMessage="密码不能为空"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="leftContent">
                                        密码确认：
                                    </td>
                                    <td class="RightContent">
                                        <asp:TextBox ID="txt_Password1" TextMode="Password" runat="server" Width="150px" class="face"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txt_Password1" Display="Dynamic" ErrorMessage="密码确认不能为空"></asp:RequiredFieldValidator>
                                        <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="密码输入不一致" ControlToCompare="txt_Password" ControlToValidate="txt_Password1" Display="Dynamic"></asp:CompareValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="leftContent">
                                        Email：
                                    </td>
                                    <td class="RightContent">
                                        <asp:TextBox ID="txt_Email" runat="server" Width="150px" class="face"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="leftContent">
                                        公司名称：
                                    </td>
                                    <td class="RightContent">
                                        <asp:TextBox ID="txt_CompanyName" runat="server" Width="150px" class="face"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txt_CompanyName" Display="Dynamic" ErrorMessage="公司名称不能为空"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="leftContent">
                                        公司简称：
                                    </td>
                                    <td class="RightContent">
                                        <asp:TextBox ID="txt_ShortCompanyName" runat="server" Width="150px" class="face"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="txt_ShortCompanyName" Display="Dynamic" ErrorMessage="公司简称不能为空"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="leftContent">
                                        电话：
                                    </td>
                                    <td class="RightContent">
                                        <asp:TextBox ID="txt_Tel" runat="server" Width="150px" class="face"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txt_Tel" Display="Dynamic" ErrorMessage="电话不能为空"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="leftContent">
                                        电话：
                                    </td>
                                    <td class="RightContent">
                                        <asp:TextBox ID="txt_Tel2" runat="server" Width="150px" class="face"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="leftContent">
                                        传真：
                                    </td>
                                    <td class="RightContent">
                                        <asp:TextBox ID="txt_FAX" runat="server" Width="150px" class="face"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="leftContent">
                                        联系人姓名：
                                    </td>
                                    <td class="RightContent">
                                        <asp:TextBox ID="txt_RealName" runat="server" Width="150px" class="face"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="txt_RealName" Display="Dynamic" ErrorMessage="联系人姓名不能为空"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="leftContent">
                                        手机：
                                    </td>
                                    <td class="RightContent">
                                        <asp:TextBox ID="txt_Mob" runat="server" Width="150px" class="face"></asp:TextBox>
                                    </td>
                                </tr>
                    </tr>
                    <tr>
                        <td class="leftContent">
                            联系人职务：
                        </td>
                        <td class="RightContent">
                            <asp:TextBox ID="txt_Zhiwu" runat="server" Width="150px" class="face"></asp:TextBox>
                        </td>
                    </tr>
        </tr>
        <tr>
            <td class="leftContent">
                客户类型：
            </td>
            <td class="RightContent">
                <asp:TextBox ID="txt_CustomerType" runat="server" Width="150px" class="face"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="leftContent">
                服务单系数：
            </td>
            <td class="RightContent">
                <asp:TextBox ID="txt_XiShu" runat="server" Width="150px" class="face"></asp:TextBox>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txt_XiShu" ErrorMessage="请输入大于0整数" ValidationExpression="^\d+$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td class="leftContent">
                合同状态：
            </td>
            <td class="RightContent">
                <asp:TextBox ID="txt_ContractNO" runat="server" Width="150px" class="face"></asp:TextBox>&nbsp;<a class="thickbox" href="../Customer/SelectContract.aspx?ParentID=<%= txt_ContractNO.ClientID %>&KeepThis=true&TB_iframe=true&height=550&width=800">选择合同</a>
            </td>
        </tr>
        <tr>
            <td class="leftContent">
                公司地址：
            </td>
            <td class="RightContent">
                <asp:TextBox ID="txt_Address" runat="server" Width="150px" class="face"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="txt_Address" Display="Dynamic" ErrorMessage="公司地址不能为空"></asp:RequiredFieldValidator>
            </td>
        </tr>
        </tr> </tr> </tr> </tr> </tr>
        <tr>
            <td class="leftContent" valign="top" style="padding-top: 20px;">
            </td>
            <td class="RightContent">
                <asp:Button ID="btnSubmit" runat="server" Text="添 加" CssClass="button" OnClick="btnSubmit_Click" />
                &nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" value="重 置" name="btnReset" class="button">
            </td>
        </tr>
    </table>
    </td> </tr> </table> </td> </tr> </table>
</asp:Content>
